import * as mvc from "common/mvc";
/**
 * 用户数据。
 */
export default class User extends mvc.Model {
    public static toString(): string {
        return "[class dragonBones.model.User]";
    }

    public uid: number = -1;
    public account: string = "";
    public password: string = "";
    public client: string = "";
    public clientID: string = "";

    public get isLogin(): boolean {
        return this.uid >= 0;
    }
};